package com.fz.us.oa.core.dao.com;

import com.fz.us.admin.company.dao.BaseFlowDao;
import com.fz.us.oa.core.entity.com.ContractPerform;
import com.fz.us.oa.core.entity.com.PerformDetail;

import java.math.BigDecimal;

/**
 * Created by dzw on 2017/12/4.
 */
public interface PerformDetailDao extends BaseFlowDao<PerformDetail, String> {

    /**
     * 获取一个履约登记的累计金额
     * @param contractPerform
     * @return
     */
    BigDecimal getPerformNum(ContractPerform contractPerform, String type);
}
